|
![](/i/fill.gif) |
Hello everybody, I need a little help with this.
The following code works fine:
#include "colors.inc"
background { color rgb <.5, .4, .3> }
#declare Rnd_1 = seed (1153);
camera {
location <3, 2, -3>
look_at <0, 0, 0>
}
light_source {<100,200,-100> colour rgb 1}
#macro ship ()
#declare n = 1;
#while ( n < 800 )
box { <0,0,0>,<1,1,1>
pigment{rgb .5}
finish { phong 1 }
scale <rand(Rnd_1)/5,rand(Rnd_1)/2,rand(Rnd_1)*1.5>
translate <rand(Rnd_1)/2,rand(Rnd_1)/2,rand(Rnd_1)*4>
}
#declare n = n + 1 ;
#end
#end
ship()
but if I try: object { ship () translate <.1,0,0> } on the last line I get a
parse error, whats wrong? thanks in advance!
Post a reply to this message
|
![](/i/fill.gif) |